<?php

namespace App\Models\ZZMed;

/**
 *  Class XDocLogin
 * @package App\Models
 */
class XDocLogin extends ZZMedBaseModel
{

    protected $table = 'x_doc_logins';

    protected $guarded = [];

    /**
     * 获取此登录所属的用户
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function user()
    {
        return $this->belongsTo(ZHospMember::class);
    }
}